package com.restaurant.application.qrcode;

import com.nebutown.description.UnitDescription;
import com.nebutown.generation.basictype.UID;

/**
 * @author Administrator
 */
public class QrCodeDesc extends UnitDescription {

    public static void main(String[] args) {
        UnitDescription desc = UnitDescription.basicUnit(QrCode.class, "QrCodeData");
        desc.nextBean("QrCodeData")
                .add("id", String.class)
                .add("qrUrl", String.class)
                .add("ownerId", UID.class)
                .add("container", UID.class)
                .add("remark", String.class)
                .add("hasTimeOut", Boolean.class)
                .add("period", Integer.class)
                .add("createTime", Long.class);
        desc.run("./");
    }
}
